package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;



@Data
@TableName("t_material_history_statistics_tab")
public class MaterialHistoryStatisticsEntity {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "materialId")
    private Long materialId;

    @ApiModelProperty(value = "materialCode")
    private String materialCode;

    @ApiModelProperty(value = "材料名称")
    private  String Name;

    @ApiModelProperty(value = "材料数量")
    private  float Num;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除)")
    private Integer delFlag;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
